package com.bawei.module_service.http

import com.bawei.lib_net.BaseResponse
import com.bawei.module_service.model.MaintainModelItem
import com.bawei.module_service.model.PatrolModel
import com.bawei.module_service.model.PatrolModelItem
import com.bawei.module_service.model.PollingModelItem
import retrofit2.http.GET

interface ServiceApi {
    //
    //获取服务列表
    @GET("/api/repair-orders")
    suspend fun getMaintainList(): BaseResponse<List<MaintainModelItem>>
    //获取巡逻列表
    @GET("/api/patrol-tasks")
    suspend fun getPatrolList():BaseResponse<List<PatrolModelItem>>

    //巡检管理列表
    @GET("/api/patrol-points")
    suspend fun getPollingList():BaseResponse<List<PollingModelItem>>
}